﻿using MediatR;
using T.Basic.Domain.T.Basic.Dto;
using T.Basic.Domain.T.Basic.Model;

namespace T.Basic.Read.API.Appliction.Command.VehicleCommand
{
    /// <summary>
    /// 显示车辆管理
    /// </summary>
    public class VehicleListCommand:IRequest<PageDto<Vehicle>>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 厂牌型号
        /// </summary>
        public string? BrandAndModel { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? PlateNumber { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public string? DriverName { get; set; }
        /// <summary>
        /// 所属公司
        /// </summary>
        public string? BelongingCompany { get; set; }
        /// <summary>
        /// 索引页
        /// </summary>
        public int? PageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int? PageSize { get; set; }
    }
}
